Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/cppproglib/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
Библиотека C/C++ разработчика | cpp, boost, qt | Telegram Webview: cppproglib/5721 -
Telegram Group & Telegram Channel
😈 Как правильно обрабатывать ошибки?

Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.

🎯 Exception team:
• Чистый код без проверок на каждом шаге
• RAII + exceptions = идеальное сочетание
• Стандартный C++ подход
• Exception safety гарантии

📋 Error codes army:

• Предсказуемая производительность
• Нет hidden control flow
• Embedded-friendly
std::expected в C++23 спасет мир

GOOGLE STYLE: Exceptions запрещены, только error codes!

РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.

А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?

Библиотека C/C++ разработчика #междусобойчик



tg-me.com/cppproglib/5721
Create:
Last Update:

😈 Как правильно обрабатывать ошибки?

Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.

🎯 Exception team:
• Чистый код без проверок на каждом шаге
• RAII + exceptions = идеальное сочетание
• Стандартный C++ подход
• Exception safety гарантии

📋 Error codes army:

• Предсказуемая производительность
• Нет hidden control flow
• Embedded-friendly
std::expected в C++23 спасет мир

GOOGLE STYLE: Exceptions запрещены, только error codes!

РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.

А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?

Библиотека C/C++ разработчика #междусобойчик

BY Библиотека C/C++ разработчика | cpp, boost, qt




Share with your friend now:
tg-me.com/cppproglib/5721

View MORE
Open in Telegram


Библиотека C C разработчика | cpp boost qt Telegram | DID YOU KNOW?

Date: |

NEWS: Telegram supports Facetime video calls NOW!

Secure video calling is in high demand. As an alternative to Zoom, many people are using end-to-end encrypted apps such as WhatsApp, FaceTime or Signal to speak to friends and family face-to-face since coronavirus lockdowns started to take place across the world. There’s another option—secure communications app Telegram just added video calling to its feature set, available on both iOS and Android. The new feature is also super secure—like Signal and WhatsApp and unlike Zoom (yet), video calls will be end-to-end encrypted.

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

Библиотека C C разработчика | cpp boost qt from de


Telegram Библиотека C/C++ разработчика | cpp, boost, qt
FROM USA